import request from '@/utils/request'

// 查询认证应用（资源）信息列表
export function listTask(query) {
  return request({
    url: '/mkt/shop/task/list',
    method: 'get',
    params: query
  })
}

// 查询认证应用（资源）信息详细
export function getTaskInfo(id) {
  return request({
    url: '/net/authInfo/' + id,
    method: 'get'
  })
}

// 申请推广
export function promotion(id) {
  return request({
    url: '/mkt/shop/task/promotion/' + id,
    method: 'get'
  })
}

